 <include file="Public:head" /> 
 <link rel="stylesheet" href="{weixin::STATICS}/kindeditor/themes/default/default.css" />
<link rel="stylesheet" href="{weixin::STATICS}/kindeditor/plugins/code/prettify.css" />
<script src="{weixin::STATICS}/kindeditor/kindeditor.js" type="text/javascript"></script>
<script src="{weixin::STATICS}/kindeditor/lang/zh_CN.js" type="text/javascript"></script>
<script src="{weixin::STATICS}/kindeditor/plugins/code/prettify.js" type="text/javascript"></script>
<script src="/tpl/static/artDialog/jquery.artDialog.js?skin=default"></script>
<script src="/tpl/static/artDialog/plugins/iframeTools.js"></script>
<script>

var editor;
KindEditor.ready(function(K) {
editor = K.create('#intro', {
resizeType : 1,
allowPreviewEmoticons : false,
allowImageUpload : true,
uploadJson : '/index.php?g=User&m=Upyun&a=kindedtiropic',
items : [
'source','undo','clearhtml','hr',
'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
'insertunorderedlist', '|', 'emoticons', 'image','link', 'unlink','baidumap','lineheight','table','anchor','preview','print','template','code','cut']
});

});
</script>
<input type="hidden" id="catUrl" value="{weixin::U('Product/ajaxCatOptions',array('token'=>$token))}" />
  <div class="content" style="width:920px; background:none; margin-left:275px; border:none; margin-bottom:30px;" > 
   <div class="cLineB"> 
    <h4>360°全景设置</h4> 
    <a href="{weixin::U('Panorama/index',array('token'=>$token))}" class="right  btnGreen" style="margin-top:-27px">返回</a> 
   </div> 
   
   
   
   <form class="form" method="post" action="" enctype="multipart/form-data"> 
   <input type="hidden" name="token" value="{weixin:$token}" />
<if condition="$isUpdate eq 1">
<input type="hidden" name="id" value="{weixin:$set.id}" />
</if>
<input type="hidden" name="discount" id="discount" value="{weixin:$set.discount}" />
    <div class="msgWrap bgfc" style="padding:10px 10px 30px 0px;"> 
    <table class="userinfoArea" border="0" cellspacing="0" cellpadding="0" width="100%">
              <tbody>
              	 <tr>
                    <td align="right" width="86"><label for="title">名称：</label></td>
              		 
              		 
              		<td width="814"><input type="input" class="px" id="name" name="name" value="{weixin:$set.name}" style="width:420px;"></td>
              		</tr>
              		 <tr>
                    <td align="right"><label for="title">关键词：</label></td>
              		<td><input type="input" class="px" id="keyword" value="{weixin:$set.keyword}" name="keyword" style="width:420px;"></td>
              		</tr>
              		<tr>
                    <td align="right"><label for="title">顺序数字：</label></td>
              		<td><input type="input" class="px" id="taxis" value="{weixin:$set.taxis}" name="taxis" style="width:420px;">  由小到大排列</td>
              		</tr>
                     <tr style="display:none">
                    <td align="right"><label for="title">背景音乐：</label></td>
              		<td><input type="input" class="px" id="music" value="{weixin:$set.music}" name="music" style="width:420px;"></td>
              		</tr>
                     <tr>
                       <td align="right">&nbsp;</td>
                       <td>
                       <table border="0" cellspacing="0" cellpadding="0" class="quanjing">
                         <tbody><tr>
                           <td align="center">前</td>
                           <td align="center">右</td>
                           <td align="center">后</td>
                           <td align="center">左</td>
                           <td align="center">顶部</td>
                           <td align="center">底部</td>
                         </tr>
                         <tr>
                           <td align="center"><img src="{weixin:$set.frontpic}" id="frontpic_src" style="width:145px;"></td>
                           <td align="center"><img src="{weixin:$set.rightpic}" id="rightpic_src" style="width:145px;"></td>
                           <td align="center"><img src="{weixin:$set.backpic}" id="backpic_src" style="width:145px;"></td>
                           <td align="center"><img src="{weixin:$set.leftpic}" id="leftpic_src" style="width:145px;"></td>
                           <td align="center"><img src="{weixin:$set.toppic}" id="toppic_src" style="width:145px;"></td>
                           <td align="center"><img src="{weixin:$set.bottompic}" id="bottompic_src" style="width:145px;"></td>
                         </tr>
                         <tr>
                           <td><input type="input" class="px" id="frontpic" value="{weixin:$set.frontpic}" name="frontpic" style="width:135px;"></td>
                           <td><input type="input" class="px" id="rightpic" value="{weixin:$set.rightpic}" name="rightpic" style="width:135px;"></td>
                           <td><input type="input" class="px" id="backpic" value="{weixin:$set.backpic}" name="backpic" style="width:135px;"></td>
                           <td><input type="input" class="px" id="leftpic" value="{weixin:$set.leftpic}" name="leftpic" style="width:135px;"></td>
                           <td><input type="input" class="px" id="toppic" value="{weixin:$set.toppic}" name="toppic" style="width:135px;"></td>
                           <td><input type="input" class="px" id="bottompic" value="{weixin:$set.bottompic}" name="bottompic" style="width:135px;"></td>
                         </tr>
                         <tr>
                           <td align="center"><script src="/tpl/static/upyun.js"></script><a href="###" onclick="upyunPicUpload('frontpic',1000,500,'{weixin:$token}')" class="a_upload">上传</a> <a href="###" onclick="viewImg('frontpic')">预览</a></td>
                           <td align="center"><a href="###" onclick="upyunPicUpload('rightpic',1000,500,'{weixin:$token}')" class="a_upload">上传</a> <a href="###" onclick="viewImg('rightpic')">预览</a></td>
                           <td align="center"><a href="###" onclick="upyunPicUpload('backpic',1000,500,'{weixin:$token}')" class="a_upload">上传</a> <a href="###" onclick="viewImg('backpic')">预览</a></td>
                           <td align="center"><a href="###" onclick="upyunPicUpload('leftpic',1000,500,'{weixin:$token}')" class="a_upload">上传</a> <a href="###" onclick="viewImg('leftpic')">预览</a></td>
                           <td align="center"><a href="###" onclick="upyunPicUpload('toppic',1000,500,'{weixin:$token}')" class="a_upload">上传</a> <a href="###" onclick="viewImg('toppic')">预览</a></td>
                           <td align="center"><a href="###" onclick="upyunPicUpload('bottompic',1000,500,'{weixin:$token}')" class="a_upload">上传</a> <a href="###" onclick="viewImg('bottompic')">预览</a></td>
                         </tr>
                       </tbody></table></td>
                     </tr>
                     
                   <tr>
                    <td align="right" valign="top"><label for="catepic">描述信息：</label></td>
              		 
              		 
              		<td><textarea name="intro" class="px" style="width:420px; height:150px">{weixin:$set.intro}</textarea> </td>
              		</tr>


              	<tr>
              		<td></td>
              		<td colspan="3"><button type="submit" name="button" class="btnGreen">保存</button>　<a href="{weixin::U('Panorama/index',array('token'=>$token))}" class="btnGray vm">取消</a></td>
              		</tr>
              	</tbody>
            </table>
     </div>
    
   </form> 
  </div> 
  <include file="Public:footer" />